WeglotWP\Services\Option_Service_Weglot B

Total Complexity 88
Dependencies 6
Dependents 22
Total lines 656
Lines of code 361
Logical lines of code 203
Comment lines 161
Methods 26
Properties 6

Methods 26

Method Rating Maintainability Complexity Lines of code
get_options()
A
48 11 32
get_options_from_api_with_api_key()
A
44 7 46
get_exclude_urls()
A
49 8 31
get_slugs_from_api_with_api_key()
A
50 8 29
get_options_from_cdn_with_api_key()
S
45 6 45
array_merge_recursive_ex()
S
58 7 15
get_slugs_from_cache_with_api_key()
S
56 5 20
get_option_button()
S
60 5 14
get_options_from_v2()
S
60 5 13
save_options_to_weglot()
S
55 2 21
get_option_custom_settings()
S
64 3 10
get_api_key()
S
65 3 8
get_has_first_settings()
S
66 3 8
get_exclude_blocks()
S
57 1 18
get_option_by_key_v3()
S
68 2 7
get_option()
S
68 2 7
get_options_default()
S
82 1 3
get_destination_languages()
S
75 1 4
get_api_key_private()
S
78 1 3
get_css_custom_inline()
S
79 1 3
get_flag_css()
S
79 1 3
get_translation_engine()
S
79 1 3
set_options()
S
70 1 6
get_options_bdd_v3()
S
78 1 3
set_option_by_key()
S
71 1 6
__construct()
S
80 1 3